/*
 * @Author: Healer
 * @Date: 2022-11-22 15:44:36
 * @LastEditTime: 2024-08-15 21:45:55
 * @LastEditors: Terry
 * @Description:
 */
import {
  Row,
  Col,
  Container,
  Icon,
  Button,
  Link,
  Radio,
  Checkbox,
  CheckboxGroup,
  Input,
  InputNumber,
  Select,
  Cascader,
  Switch,
  DatePicker,
  TimePicker,
  Upload,
  Rate,
  Form,
  FormItem,
  Table,
  TableColumn,
  Tag,
  Progress,
  Tree,
  Pagination,
  Badge,
  Avatar,
  Empty,
  Descriptions,
  DescriptionsItem,
  Alert,
  Loading,
  Message,
  MessageBox,
  Menu,
  MenuItem,
  MenuItemGroup,
  Tabs,
  Breadcrumb,
  BreadcrumbItem,
  PageHeader,
  Dialog,
  Tooltip,
  Popconfirm,
  Card,
  Timeline,
  TimelineItem,
  Divider,
  Calendar,
  Image,
  Drawer,
  Main,
  Aside,
  Header,
  Option,
  TabPane,
  Submenu,
  Notification,
  Footer,
  RadioButton,
  RadioGroup,
  Autocomplete,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  InfiniteScroll,
  Popover,
  Scrollbar,
  Slider,
  OptionGroup
} from "element-ui";
const elementComponents = {
  TimePicker,
  Satistic,
  Row,
  Col,
  Container,
  Icon,
  Button,
  Link,
  Radio,
  Checkbox,
  CheckboxGroup,
  Input,
  InputNumber,
  Select,
  Cascader,
  Switch,
  DatePicker,
  Upload,
  Rate,
  Form,
  FormItem,
  Table,
  TableColumn,
  Tag,
  Progress,
  Tree,
  Pagination,
  Badge,
  Avatar,
  Empty,
  Descriptions,
  DescriptionsItem,
  Alert,
  Loading,
  Menu,
  MenuItem,
  MenuItemGroup,
  Tabs,
  Breadcrumb,
  BreadcrumbItem,
  PageHeader,
  Dialog,
  Tooltip,
  Popconfirm,
  Card,
  Timeline,
  TimelineItem,
  Divider,
  Calendar,
  Image,
  Drawer,
  Main,
  Aside,
  Header,
  Option,
  TabPane,
  Submenu,
  Footer,
  RadioButton,
  RadioGroup,
  Autocomplete,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  InfiniteScroll,
  Popover,
  Scrollbar,
  Slider,
  OptionGroup,
  Satistic
};
function install(Vue) {
    Vue.prototype.$msgbox = MessageBox;
    Vue.prototype.$alert = MessageBox.alert;
    Vue.prototype.$confirm = MessageBox.confirm;
    Vue.prototype.$prompt = MessageBox.prompt;
    Vue.prototype.$notify = Notification;
    Vue.prototype.$message = Message;
  Object.keys(elementComponents).forEach((key) =>
    Vue.use(elementComponents[key])
  );
}
export default { install };
